﻿using System;
using System.Collections.Generic;

namespace Rj_GsInsurance.Server.DataBaseContext.Entities
{
    /// <summary>
    /// 会诊类型表
    /// </summary>
    public partial class ConsultationTbType
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string? Name { get; set; }
        /// <summary>
        /// 允许申请医生最低职称代码
        /// </summary>
        public int? ApplyDocLevel { get; set; }
        /// <summary>
        /// 允许接受会诊医生最低职称代码
        /// </summary>
        public int? ConsultationDocLevel { get; set; }
        /// <summary>
        /// 该类会诊的有效期
        /// </summary>
        public int? ValidTime { get; set; }
        /// <summary>
        /// 该类会诊的有效期单位码值
        /// </summary>
        public string? ValidTimeUnit { get; set; }
        /// <summary>
        /// 会诊意见书写时间限制天数
        /// </summary>
        public decimal? LimitDays { get; set; }
        /// <summary>
        /// 是否需要短信通知0否1是
        /// </summary>
        public byte? SmsFlag { get; set; }
        /// <summary>
        /// 住院是否允许选择医生0否1是
        /// </summary>
        public byte? HospChooseDocFlag { get; set; }
        /// <summary>
        /// 门急诊是否允许选择医生0否1是
        /// </summary>
        public byte? OutpatientChooseDocFlag { get; set; }
        /// <summary>
        /// 是否需要科主任审批0否1是
        /// </summary>
        public byte? DeptAuditFlag { get; set; }
        /// <summary>
        /// 备注说明
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 停启用0停用1启用
        /// </summary>
        public byte? EnableFlag { get; set; }
        /// <summary>
        /// 创建人id
        /// </summary>
        public int? CreatorId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate { get; set; }
        /// <summary>
        /// 修改人id
        /// </summary>
        public int? UpdatorId { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateDate { get; set; }
        /// <summary>
        /// 删除标记0否1是
        /// </summary>
        public byte? DelFlag { get; set; }
        /// <summary>
        /// 医院编码
        /// </summary>
        public byte? HospId { get; set; }
        /// <summary>
        /// 是否需要医务部审批0否1是
        /// </summary>
        public byte? MedicalAuditFlag { get; set; }
        public bool? DrugFlag { get; set; }
    }
}
